package com.vivachek.protocol.process

import com.vivachek.protocol.ParseListener
import com.vivachek.protocol.exception.CRCException
import com.vivachek.protocol.exception.NotSupportProtocolException
import kotlin.jvm.Throws

internal abstract class AbsProcess {

    var listener:ParseListener?=null

    var next: AbsProcess?=null

    @Throws(CRCException::class,NotSupportProtocolException::class)
    abstract fun convert(data:List<Int>,origin:List<Int>)
}